#include "KineticPropery.h"

namespace steam
{
	namespace firebox
	{
		static const TypeID idStatic("KineticPoperty"); 
		KineticPoperty::KineticPoperty()
		{
			m_transformation.identity();
		}

		KineticPoperty::KineticPoperty( const KineticPoperty& other )
		{
			*this = other;
		}

		KineticPoperty& KineticPoperty::operator=( const KineticPoperty& that )
		{
			if (this != &that)
			{
				m_velocity = that.m_velocity;
			}
			return *this;
		}


		const TypeID& KineticPoperty::getIDStatic() 
		{
			return idStatic;
		}

		KineticPoperty::~KineticPoperty()
		{

		}

		void KineticPoperty::move( const base::Vector3& pos )
		{
			m_transformation.translate(pos);
		}

		const base::Matrix4& KineticPoperty::getTransformation() const 
		{ 
			return m_transformation; 
		}
	}
}